package com.example.workflow.service;

import com.example.workflow.dto.ProcessStartDTO;
import com.example.workflow.dto.TaskCompleteDTO;
import com.example.workflow.vo.ProcessDefinitionVO;
import com.example.workflow.vo.ProcessInstanceVO;
import com.example.workflow.vo.TaskVO;
import com.example.workflow.vo.ProcessInstanceDetailVO;

import java.util.List;

public interface ProcessOpenApiService {
    List<ProcessDefinitionVO> listProcesses(Long systemId);
    String startProcess(ProcessStartDTO startDTO);
    List<ProcessInstanceVO> listProcessInstances(Long systemId);
    void completeTask(TaskCompleteDTO taskDTO);
    List<TaskVO> listRoleTasks(String roleId);
    ProcessInstanceDetailVO getProcessInstanceDetail(String processInstanceId);
} 